<template>
  <div class="box_wrapper">
    <div :id="this.id"></div>
  </div>
</template>
<script>
export default {
  data: () => ({
    id: Math.random().toString(36).substr(2)
  }),
  mounted() {
    // this.id = "box_ad_"+this.$utils.getRandomString();
    let s = document.createElement("script");
    s.setAttribute("src", "//www.smucdn.com/smu0/o.js");
    s.setAttribute("smua", "d=m&s=b&u=u3760190&h=120");
    document.getElementById(this.id).appendChild(s);
  }
};
</script>
<style scoped>
.box_wrapper {
  width: 98%;
  margin: 1% 1% 0 1%;
}
</style>

